import React, {Component} from 'react';
import { View } from 'react-native';

import { Selection } from 'iftide';

export default class Basic1 extends Component {
    constructor(props) {
        super(props);
    }

    _onPress(){
        console.log('11');
    }

    render() {
        return (
            <View>
                <Selection
                    title='标题文字'
                    value='默认选择项—禁用'
                    captions='标题说明文字'
                    description='选择项说明文字'
                    hasTopBorder={true}
                    disabled={true}
                    onPress = {()=>this._onPress()}
                />
            </View>
        );
    }
}